from fdfs_client.client import Fdfs_client
client = Fdfs_client("client.conf")
ret = client.upload_by_filename("/home/python/Desktop/cold.jpg")
print(ret)